Mark ApiQueryBase methods accepting arrays
authorErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 14 Feb 2017 23:41:19 +0000 (15:41 -0800)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 14 Feb 2017 23:42:57 +0000 (15:42 -0800)
commit0f0b67047d0d3c3b7c662898527e1317cf9e17a9
treedf87b3ba19354964a41c6aca1009cc9ee0f09a76
parent99800a9e0360e1a24c061d908dbe111bf687963f
Mark ApiQueryBase methods accepting arrays

These particular functions build up data to be passed into the database
abstraction, which accepts not only strings but arrays. Where conditions
generate `field IN ('a', 'b', 'c')` clauses. The options can be used
with, for example, sort to sort by one field and then a second.

Change-Id: I743f14f0e56c7f0546dfecd130925e15d63c7d64
includes/api/ApiQueryBase.php